﻿<phone:PhoneApplicationPage
                            xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                            xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                            xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
                            xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
                            xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
                            xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
                            xmlns:controls="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls" x:Class="ScheduleMVVM.SettingsPage"
                            mc:Ignorable="d"
                            d:DesignWidth="480"
                            d:DesignHeight="696"
                            FontFamily="{StaticResource PhoneFontFamilyNormal}"
                            FontSize="{StaticResource PhoneFontSizeNormal}"
                            Foreground="{StaticResource PhoneForegroundBrush}"
                            SupportedOrientations="Portrait"
                            Orientation="Portrait"
                            shell:SystemTray.IsVisible="True"
                            DataContext="{Binding Source={StaticResource Locator}, Path=SettingsStatic}">

    <Grid x:Name="LayoutRoot"
          Background="Transparent">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition Height="*" />
        </Grid.RowDefinitions>        
    	<controls:Pivot x:Name="SettingsPivot" Margin="0" Grid.Row="1" Title="{Binding Path=ApplicationTitle}">
    		<controls:PivotItem x:Name="SettingsPivotItem" Header="{Binding Path=SettingsPivotItemTitle}" Visibility="Collapsed">
    			<Grid/>
    		</controls:PivotItem>
    		<controls:PivotItem x:Name="AboutPivotItem" Header="{Binding Path=AboutPivotItemTitle}">
    			<Grid>
    				<TextBlock Margin="0,138,0,0" TextWrapping="Wrap" Text="{Binding Path=ApplicationTitle}" VerticalAlignment="Top" TextAlignment="Center" FontSize="26.667" FontFamily="Segoe WP"/>
    				<TextBlock TextWrapping="Wrap" Text="for Windows Phone 7" VerticalAlignment="Top" TextAlignment="Center" FontFamily="Segoe WP Light" Margin="0,173,0,0"/>
    				<HyperlinkButton Content="contact author" HorizontalAlignment="Left" VerticalAlignment="Bottom" FontSize="18.667" Margin="0,0,0,249">
    					<HyperlinkButton.Foreground>
    						<SolidColorBrush Color="{StaticResource PhoneSubtleColor}"/>
    					</HyperlinkButton.Foreground>
    				</HyperlinkButton>
    				<HyperlinkButton Content="rate this app" HorizontalAlignment="Left" VerticalAlignment="Bottom" FontSize="18.667" Margin="0,0,0,220" d:LayoutOverrides="VerticalMargin">
    					<HyperlinkButton.Foreground>
    						<SolidColorBrush Color="{StaticResource PhoneSubtleColor}"/>
    					</HyperlinkButton.Foreground>
    				</HyperlinkButton>
    				<TextBlock Margin="0" TextWrapping="Wrap" Text="Copyright 2012" VerticalAlignment="Bottom" d:LayoutOverrides="Width" TextAlignment="Center" FontSize="18.667">
    					<TextBlock.Foreground>
    						<SolidColorBrush Color="{StaticResource PhoneSubtleColor}"/>
    					</TextBlock.Foreground>
    				</TextBlock>
    				<TextBlock Margin="0,0,0,29" TextWrapping="Wrap" Text="version 1.0.45.43" VerticalAlignment="Bottom" TextAlignment="Center" FontSize="18.667" d:LayoutOverrides="Width" FontFamily="Segoe WP Light">
    					<TextBlock.Foreground>
    						<SolidColorBrush Color="{StaticResource PhoneSubtleColor}"/>
    					</TextBlock.Foreground>
    				</TextBlock>
    			</Grid>
    		</controls:PivotItem>
    	</controls:Pivot>        
    </Grid>

</phone:PhoneApplicationPage>